﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace TrabajoFinal.Models
{
    [Table("darsena")]
    public class Darsena
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int id { get; set; }

        [Required]
        public virtual Empresa empresa { get; set; }

        [Required]
        public virtual Localidad localidad { get; set; }

        [Required]
        public string nroInterno { get; set; }

        [Required]
        public DateTime fecha { get; set; }

        [Required]
        public virtual Usuario usuario { get; set; }
    }
}